<%@ Page Language="C#" MasterPageFile="~/MasterPages/Main1.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="NSFxSamples.CRUD.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>
	<h1>Departments</h1>
	<asp:DropDownList ID="ddlDepartmentNames" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlDepartmentNames_SelectedIndexChanged" />
	<table>
		<tr>
			<td>
				Name:
			</td>
			<td>
				<asp:TextBox ID="txtName" runat="server" Width="300" />
			</td>
		</tr>
		<tr>
			<td>
				Group name:
			</td>
			<td>
				<asp:TextBox ID="txtGroupName" runat="server" Width="300" />
			</td>
		</tr>
	</table>
	<asp:Button ID="btnSubmit" runat="server" Text="Save" OnClick="btnSubmit_Click" />
	<asp:Button ID="btnDelete" runat="server" Text="Delete" OnClick="btnDelete_Click" Visible="false" />
</div>
</asp:Content>